# -*- coding: utf-8 -*-

# 文件名： SocketSClient
# 日  期： 2023/4/17
# 你有见过洛杉矶凌晨4点的太阳和直升机上的肘击吗?
#                  —————By Black Mamba , Kobe Bryant

import socket
import os
from DesModule import *
file1 = open("Secret", "r+")
file1.write("Mamba!Mamba!Have you come to life again？")
file1.seek(0)
cryptostring = file1.readline()
print(cryptostring)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.1.106", 8025))
s.sendall(cryptostring.encode())
data = s.recv(1024)
print("Mamba says:", data.decode())
s.close()
